<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">	
	<title>后台管理 | {$com.abbreviation}</title>
	<link href="__APP____PUBLIC__/css/admin/style.css" rel="stylesheet" type="text/css" />
	<link href="__APP____PUBLIC__/css/validator.css" rel="stylesheet" type="text/css" />
	<link href="__APP____PUBLIC__/images/favicon.ico" type="image/ico" rel="shortcut icon">
	<script src="__APP____PUBLIC__/js/jquery-1.4.4.js" type="text/javascript" charset="UTF-8"></script>
	<script src="__APP____PUBLIC__/admin/js/formValidator-4.1.1.js" type="text/javascript" charset="UTF-8"></script>
	<script src="__APP____PUBLIC__/admin/js/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
	<script type="text/javascript" src="__APP____PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="__APP____PUBLIC__/admin/js/common.js"></script>

	<script>
    
	
	$(document).ready(function(){
		$.formValidator.initConfig({formID:"form1",autoTip:true,tidyMode:true,onError:function(msg){}});
		$("#title").formValidator({onShow:"请输入标题",onFocus:"至少1个字符",onCorrect:"输入正确"}).inputValidator({min:2,max:200,onError:"输入不合法，请确认"});
		$("#link").formValidator({onShow:"请输入链接",onFocus:"至少8个字符",onCorrect:"输入正确"}).inputValidator({min:8,max:200,onError:"输入不合法，请确认"});
	});
	</script>
</head>

<body>
		
		<include file="./Tpl/default/Admin/nav.html" />
		
		<div id="wrapper">
			<div id="nav_trail"><a href="__APP__/Admin/">管理首页</a></div>
			<div id="content">
			
				<!-- 左边菜单 -->
				<include file="./Tpl/default/Admin/left_menu.html" />
				<!-- 左边菜单 -->
				
				<script>
					menusel('m_note');
				</script>
	
	
				<div class="right_area">
					<div class="cbar">
			            
			              <ul>
			                <li ><a href="index">列表</a></li>
			    			<li class="cbar-tag-sel">增加公告</li>
			              </ul>
			         </div><!-- cbar end -->
			         
			         <div class="cbox">
          
            <div class="ydbar">
      			<div class="info-title">编辑公告</div>
    		</div>
			<form action="__URL__/update" method="post" name="form1" id="form1" enctype="multipart/form-data">
					<input type="hidden" id="id" name="id" value="{$vo.id}"/>
			  <table cellspacing="0" cellpadding="0" border="0" class="table-f">
					      <tbody>
					      
					      <tr>
					        <td align="right" width="15%" class="formtdl">标题：</td>
					        <td align="left" colspan="2"><input type="text" id="title" size="90" name="title" value="{$vo.title}"></td>
					        <td align="left" width="35%"><div id="titleTip" class="onShow">请输入标题</div></td>
					      </tr>   
					      
					      <tr>
					        <td align="right" width="15%" class="formtdl">链接(http://开头)：</td>
					        <td align="left" colspan="2"><input type="text" id="link" size="70" name="link" value="{$vo.link}"></td>
					        <td align="left" width="35%"><div id="linkTip" class="onShow">请输入链接</div></td>
					      </tr>
					      
					      
					
					    </tbody></table>
					    
			    
					    <table width="100%" cellspacing="0" cellpadding="0" border="0">
					      <tbody><tr>
					          <td align="center">
					            <input type="submit" value="提交" id="button" class="inp-yd" name="button">
					            
					        </td></tr>
					    </tbody></table>
			  
			</form>
			<div id="output"></div>
</body>
</html>